<template>
  <div class="cart">
    <login-tips class="fixed-top"></login-tips>
    <div class="frsbc date-container bteb">
      <div class="frcc">
        <img class="circle-img" :src="circleImg">
        <span>日期: 2018-08-02</span>
      </div>
      <span class="edit">编辑</span>
    </div>
    <div class="cart-product" v-for="(item, index) in (new Array(7)).fill(1)" :key="index">
      <cart-product-item class="cart-product-item" :circle-img="circleImg"></cart-product-item>
    </div>
    <cart-product-choose class="choose-all" :circle-img="circleImg"></cart-product-choose>
    <div class="space"></div>
    <div class="space"></div>
  </div>
</template>

<script>
import LoginTips from '@/components/LoginTips'
import CartProductItem from '@/components/CartProductItem'
import CartProductChoose from '@/components/CartProductChoose'
export default {
  components: {LoginTips, CartProductItem, CartProductChoose},
  data () {
    return {
      circleImg: require('@/common/image/radio-d.png')
    }
  }
}
</script>

<style lang="stylus" scoped>
@import '~common/stylus/variable.styl'
.fixed-login-top
  position fixed
.cart
  height 100vh
  overflow-y scroll
  background-color $cf8
.date-container
  margin-top .20rem
  padding 0 .20rem
  height 1.00rem
  font-size .28rem
  background-color $cff
.circle-img
  margin-right .20rem
  width .40rem
  height .40rem
.edit
  color $coupon-color
.choose-all
  position fixed
  bottom 50px
  left 0
  width 100%
</style>
